﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;

namespace EvoSim.Simulation
{
	public class Food : Entity
	{
		public double EnergyStorage = 60 * 60;

		public Food()
			: base("Food")
		{
			Radius = 16;
			EntityColor = Color.Green;
		}

		public override void Update(Microsoft.Xna.Framework.GameTime gameTime)
		{
			base.Update(gameTime);

			if (EnergyStorage <= 0)
				Kill();
		}
	}
}
